home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / plain / contrib / vertex / ecnmet.sty < prev    next >
Encoding:
Text File  |  1991-05-22  |  4.6 KB  |  151 lines

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. %
  3. % ecnmet.sty  -- Economagica style for VerTeX
  4. %
  5. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6.  
  7. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  8. %      Set pagesize
  9. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  10.  
  11. \hsize=29pc
  12. \vsize=46pc
  13. \hoffset=1in
  14. \voffset=1in
  15.  
  16. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  17. %      Headline and footline
  18. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  19.  
  20. \runningname{Use $\$ runningname}
  21. \runningtitle{Use $\$ runningtitle}
  22.  
  23. \nopagenumbers
  24. \def\rightheadline{\hbox to \hsize{{\hfil\scten\runtitle}\hfil{\folio}}}
  25. \def\leftheadline{\hbox to \hsize{\folio \hfil {\scten\runname}\hfil}}
  26. \headline={\ifodd\pageno\rightheadline \else\leftheadline\fi}
  27.  
  28. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  29. %     Redefine figure macro
  30. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  31.  
  32. \def\Figure#1#2#3{
  33.      \midinsert
  34.      \vbox to #2{\vfil}
  35.      \hbox to \hsize{\hss\vbox{\parindent=0pt
  36.      {\scten Figure \number#1}.---\rm #3}}
  37.      \endinsert}
  38.  
  39.  
  40. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  41. %  Define topmatter style
  42. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  43.  
  44. \let\TitleFont=\sctwelve
  45. \let\AuthorFont=\scten
  46.  
  47. \def\title#1{\DoCenteredTitle{\expandafter\uppercase{#1}}}
  48.  
  49. \def\author#1{\DoCenteredAuthor{By #1}}
  50. \def\authortwo#1{\message{Use ``author'' for both authors in this style.}}
  51.  
  52. \def\affil#1{\global\setbox\affilbox\vbox{\nineit\noindent #1}}
  53. \def\affiltwo#1{\message{Do not use "affiltwo" in this style.}}
  54.  
  55. \def\thanks#1{\global\setbox\thanksbox\hbox{{\eightpoint #1\par}}}
  56.  
  57. \def\date#1{\global\setbox\datebox\vbox{\tenrm #1 \hfil}}
  58. \def\version#1{}
  59.  
  60. \def\abstract#1{\global\setbox\abstractbox\vbox
  61.        {\eightpoint\hsize=23pc\parindent=8pt#1\par}}
  62.  
  63. \def\keywords#1{}
  64. \def\address#1{}
  65.  
  66. \def\topmatter{\relax}
  67. \def\endtopmatter{\DoTop}
  68.  
  69. \let\SectionFont=\scten
  70.  
  71. \RomanSectionfalse
  72.  
  73. \def\section#1\par{\DoCenteredSection{\uppercase{#1}}}
  74.  
  75. \def\subsection#1\par{\BigBreak\noindent
  76.    {\hfil \it \number\SectionNumber.\number\SubsectionNumber\enspace #1\hfil}
  77.    \nobreak\medskip\noindent}
  78.  
  79. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  80. %   Math conventions
  81. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  82.  
  83. \outer\def\proclaim #1. #2\par{\medbreak
  84.   {\scten#1:\enspace}{\sl#2}\par
  85.   \ifdim\lastskip<\medskipamount \removelastskip\penalty55\medskip\fi}
  86.  
  87. \let\eqno=\leqno
  88. \let\eqalignno=\leqalignno
  89.  
  90. \def\proof{\goodbreak{\scten Proof:\enspace}}
  91.  
  92.  
  93. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  94. %   References
  95. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  96.  
  97. \let\RefFont=\tenpoint
  98. \def\vol#1{\setbox\volbox\hbox{#1}}
  99.  
  100. \def\Refs{\vskip1in
  101. \centerline{\scten REFERENCES}
  102. \vskip 2pc\RefFont}
  103.  
  104. \def\by#1{\setbox\bybox\hbox{\scten{#1}}}
  105.  
  106. \def\SetRef{
  107.   \vskip 3pt
  108.   \ifjour\jourfalse\vbox{\HangRef
  109.      \unhbox\bybox:\space ``\unhbox\paperbox,'' 
  110.      {\unhbox\jourbox} \unhbox\volbox\space 
  111.      \ifvoid\nobox\relax\else\space no. \unhbox\nobox \fi
  112.      (\unhbox\yrbox), \unhbox\pagesbox. \par}\fi
  113.  
  114.   \ifbook\bookfalse\par\vbox{\HangRef
  115.      \unhbox\bybox\space {\it \unhbox\bookbox}. \unhbox\publaddrbox : 
  116.          \unhbox\publbox , \unhbox\yrbox.\par}\fi
  117.  
  118.  \ifinbook\inbookfalse\par\vbox{\HangRef
  119.      \unhbox\bybox\space (\unhbox\yrbox): ``\unhbox\paperbox,'' in 
  120.      {\it \unhbox\bookbox}, ed. by {\rm \unhbox\editorbox}.
  121.      \unhbox\publaddrbox : \unhbox\publbox \ifvoid\pagesbox\relax
  122.      \else, \unhbox\pagesbox .\fi\par}\fi
  123.  
  124.  \ifunpublished\unpublishedfalse\par\vbox{\HangRef
  125.      \unhbox\bybox:
  126.     ``\unhbox\paperbox, '' \unhbox\paperinfobox,\space\unhbox\yrbox.\par}\fi
  127. }
  128.  
  129. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  130. %  Set the paper
  131. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  132.  
  133. \def\titlehead{\line{\hfil\eightpoint{\it Economagica}, Vol. 99, No. 9 (March, 1999) pp. 9--99\hfil}}
  134. \def\titlefoot{\hfil}
  135.  
  136. \def\DoTop{
  137. \vglue 1pc
  138. \line{\hfil\box\titlebox\hfil}
  139. \vskip 1pc
  140. \line{\hfil\box\authorbox\hfil}
  141. \ifvoid\thanksbox\relax\else
  142.    \vfootnote{$^1$}{\eightpoint \unhbox\thanksbox \par}\fi
  143. \vskip1pc
  144. \line{\hfil\box\abstractbox\hfil}
  145. \vskip 2.5pc}
  146.  
  147. \def\document{\tenpoint\relax}
  148.  
  149. \parindent=10pt
  150. \tenpoint
  151. \def\footnoterule{}